package cn.kgc.dao;

import cn.kgc.pojo.SalaryPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SalaryStandarDao {
    List<SalaryPO> findAll(@Param("salaryId") String salaryId,
                           @Param("fileStatus") String fileStatus,
                           @Param("inputtingTime1") String inputtingTime1,
                           @Param("inputtingTime2") String inputtingTime2);

    int addSalaryStandard(SalaryPO salaryPO);

    SalaryPO findOne(@Param("salaryId") String salaryId);

    int delSalary(String salaryId);

    int updateSalary(SalaryPO salaryPO);

    int review(String salaryId);

    int checkDate(String salaryId, String reviewComments);
}
